package com.llxwz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("discuss_post")
public class DiscussPost {
    @TableId(type = IdType.AUTO)
    private int id;
    private int userId;
    private String title;
    private String content;
    //0普通 1置顶
    private int type;
    //0正常 1精华 2被禁
    private int status;
    private Date createTime;
    private int commentCount;
    private double score;
    private int tagId;
}
